\hypertarget{cont_8h}{}\section{yield/cont.h File Reference}
\label{cont_8h}\index{yield/cont.\+h@{yield/cont.\+h}}
{\ttfamily \#include $<$stdbool.\+h$>$}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structcont__}{cont\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{cont_8h_a3c0457d493868f331ce63d0ef71aeb3e}{C\+O\+N\+T\+\_\+\+S\+T\+A\+C\+K\+S\+I\+ZE}~(1024$\ast$4)
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{structcont__}{cont\+\_\+} \hyperlink{cont_8h_a7d4cc1b0ca5758698479eb6acc2da2c5}{cont\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{cont_8h_aabe5fa46dc4aecdcecf7c9ab994967f3}{cont\+\_\+init} (\hyperlink{cont_8h_a7d4cc1b0ca5758698479eb6acc2da2c5}{cont\+\_\+t} $\ast$)
\item 
void \hyperlink{cont_8h_a9823dbae01d0e4f8d289e2f478310673}{cont\+\_\+run} (\hyperlink{cont_8h_a7d4cc1b0ca5758698479eb6acc2da2c5}{cont\+\_\+t} $\ast$, void($\ast$pfn)(void))
\item 
void \hyperlink{cont_8h_aa800bcad11772d073b3e86c809c14806}{cont\+\_\+yield} (\hyperlink{cont_8h_a7d4cc1b0ca5758698479eb6acc2da2c5}{cont\+\_\+t} $\ast$)
\item 
int \hyperlink{cont_8h_a8795db353c660bc12f083742a906643c}{cont\+\_\+check} (\hyperlink{cont_8h_a7d4cc1b0ca5758698479eb6acc2da2c5}{cont\+\_\+t} $\ast$cont)
\item 
\hyperlink{user__config_8h_af6a258d8f3ee5206d682d799316314b1}{bool} \hyperlink{cont_8h_a7a8b25ee2153c3033f4590b39197661b}{cont\+\_\+can\+\_\+yield} (\hyperlink{cont_8h_a7d4cc1b0ca5758698479eb6acc2da2c5}{cont\+\_\+t} $\ast$cont)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{cont.\+h@{cont.\+h}!C\+O\+N\+T\+\_\+\+S\+T\+A\+C\+K\+S\+I\+ZE@{C\+O\+N\+T\+\_\+\+S\+T\+A\+C\+K\+S\+I\+ZE}}
\index{C\+O\+N\+T\+\_\+\+S\+T\+A\+C\+K\+S\+I\+ZE@{C\+O\+N\+T\+\_\+\+S\+T\+A\+C\+K\+S\+I\+ZE}!cont.\+h@{cont.\+h}}
\subsubsection[{\texorpdfstring{C\+O\+N\+T\+\_\+\+S\+T\+A\+C\+K\+S\+I\+ZE}{CONT_STACKSIZE}}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\+O\+N\+T\+\_\+\+S\+T\+A\+C\+K\+S\+I\+ZE~(1024$\ast$4)}\hypertarget{cont_8h_a3c0457d493868f331ce63d0ef71aeb3e}{}\label{cont_8h_a3c0457d493868f331ce63d0ef71aeb3e}


Definition at line 27 of file cont.\+h.



\subsection{Typedef Documentation}
\index{cont.\+h@{cont.\+h}!cont\+\_\+t@{cont\+\_\+t}}
\index{cont\+\_\+t@{cont\+\_\+t}!cont.\+h@{cont.\+h}}
\subsubsection[{\texorpdfstring{cont\+\_\+t}{cont_t}}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf cont\+\_\+}  {\bf cont\+\_\+t}}\hypertarget{cont_8h_a7d4cc1b0ca5758698479eb6acc2da2c5}{}\label{cont_8h_a7d4cc1b0ca5758698479eb6acc2da2c5}


\subsection{Function Documentation}
\index{cont.\+h@{cont.\+h}!cont\+\_\+can\+\_\+yield@{cont\+\_\+can\+\_\+yield}}
\index{cont\+\_\+can\+\_\+yield@{cont\+\_\+can\+\_\+yield}!cont.\+h@{cont.\+h}}
\subsubsection[{\texorpdfstring{cont\+\_\+can\+\_\+yield(cont\+\_\+t $\ast$cont)}{cont_can_yield(cont_t *cont)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf bool} cont\+\_\+can\+\_\+yield (
\begin{DoxyParamCaption}
\item[{{\bf cont\+\_\+t} $\ast$}]{cont}
\end{DoxyParamCaption}
)}\hypertarget{cont_8h_a7a8b25ee2153c3033f4590b39197661b}{}\label{cont_8h_a7a8b25ee2153c3033f4590b39197661b}


Definition at line 44 of file cont\+\_\+util.\+c.



Referenced by esp\+\_\+yield(), optimistic\+\_\+yield(), and yield().

\index{cont.\+h@{cont.\+h}!cont\+\_\+check@{cont\+\_\+check}}
\index{cont\+\_\+check@{cont\+\_\+check}!cont.\+h@{cont.\+h}}
\subsubsection[{\texorpdfstring{cont\+\_\+check(cont\+\_\+t $\ast$cont)}{cont_check(cont_t *cont)}}]{\setlength{\rightskip}{0pt plus 5cm}int cont\+\_\+check (
\begin{DoxyParamCaption}
\item[{{\bf cont\+\_\+t} $\ast$}]{cont}
\end{DoxyParamCaption}
)}\hypertarget{cont_8h_a8795db353c660bc12f083742a906643c}{}\label{cont_8h_a8795db353c660bc12f083742a906643c}


Definition at line 36 of file cont\+\_\+util.\+c.



Referenced by loop\+\_\+task().

\index{cont.\+h@{cont.\+h}!cont\+\_\+init@{cont\+\_\+init}}
\index{cont\+\_\+init@{cont\+\_\+init}!cont.\+h@{cont.\+h}}
\subsubsection[{\texorpdfstring{cont\+\_\+init(cont\+\_\+t $\ast$)}{cont_init(cont_t *)}}]{\setlength{\rightskip}{0pt plus 5cm}void cont\+\_\+init (
\begin{DoxyParamCaption}
\item[{{\bf cont\+\_\+t} $\ast$}]{}
\end{DoxyParamCaption}
)}\hypertarget{cont_8h_aabe5fa46dc4aecdcecf7c9ab994967f3}{}\label{cont_8h_aabe5fa46dc4aecdcecf7c9ab994967f3}


Definition at line 27 of file cont\+\_\+util.\+c.



Referenced by user\+\_\+init().

\index{cont.\+h@{cont.\+h}!cont\+\_\+run@{cont\+\_\+run}}
\index{cont\+\_\+run@{cont\+\_\+run}!cont.\+h@{cont.\+h}}
\subsubsection[{\texorpdfstring{cont\+\_\+run(cont\+\_\+t $\ast$, void($\ast$pfn)(void))}{cont_run(cont_t *, void(*pfn)(void))}}]{\setlength{\rightskip}{0pt plus 5cm}void cont\+\_\+run (
\begin{DoxyParamCaption}
\item[{{\bf cont\+\_\+t} $\ast$}]{, }
\item[{void($\ast$)(void)}]{pfn}
\end{DoxyParamCaption}
)}\hypertarget{cont_8h_a9823dbae01d0e4f8d289e2f478310673}{}\label{cont_8h_a9823dbae01d0e4f8d289e2f478310673}


Referenced by loop\+\_\+task().

\index{cont.\+h@{cont.\+h}!cont\+\_\+yield@{cont\+\_\+yield}}
\index{cont\+\_\+yield@{cont\+\_\+yield}!cont.\+h@{cont.\+h}}
\subsubsection[{\texorpdfstring{cont\+\_\+yield(cont\+\_\+t $\ast$)}{cont_yield(cont_t *)}}]{\setlength{\rightskip}{0pt plus 5cm}void cont\+\_\+yield (
\begin{DoxyParamCaption}
\item[{{\bf cont\+\_\+t} $\ast$}]{}
\end{DoxyParamCaption}
)}\hypertarget{cont_8h_aa800bcad11772d073b3e86c809c14806}{}\label{cont_8h_aa800bcad11772d073b3e86c809c14806}


Referenced by esp\+\_\+yield().

